import config from "@/config";
import http from "@/utils/request";
// 获取页面所有信息
export const getAllData = {
	url:`${config.BASE_URL}/politialready/getpol`,
	name:"已政审-获取所有信息",
	get: async function() {
		return await http.get(this.url)
	}
}
// 导出数据功能
export const deriveData = {
	url: `${config.BASE_URL}/politialready/exportexc`,
	name:"已政审-导出功能",
	get: async function()  {
		return await http.get(this.url)
	}
}
// 姓名查找功能
export const searchData = {
	url: `${config.BASE_URL}/politialready/find`,
	name:"已政审-姓名查找功能",
	post: async function(params="") {
		return await http.post(this.url+params)
	}
}
// 政审结果详细查看功能
export const viewDetail = {
	url:`${config.BASE_URL}/Record/`,
	name:'已政审-政审结果详细查看',
	get: async function(){
		return await http.get(this.url)
	}
}
